<?php if(isset($buttons) && is_array($buttons)): ?>

	<?php foreach($buttons as $button ): ?>
		<?php if( $button == 'save' ): ?>
			<button type="submit" name="btnAction" value="Save" class="button" id="save">
				<span>
					<?php echo lang('buttons.save');?>
				</span>
			</button>

		<?php elseif( $button == 'add' ): ?>
			<button type="submit" name="btnAction" value="Add" class="button" id="add">
				<span>
					<?php echo lang('dataman.add');?>
				</span>
			</button>
		<?php elseif( $button == 'save_connection' ):?>
			<button type="button" name="btnAction" value="Save" class="button" id="save" onclick="checkB4Submit();">
				<span>
					<?php echo lang('buttons.save');?>
				</span>
			</button>
		<?php endif; ?>
	<?php endforeach; ?>

<?php endif; ?>
